#ifndef CONFIG_H
#define CONFIG_H
#include "inifile.h"
#include <vector>

using namespace std;

class Config
{
public:
    static  Config* instance();
    static void uninstance();
    static Config* cthis_;

    int get_url(const char* ip, unsigned int &unique_code, string &url);
protected:
    Config();
    ~Config();
    void load();

private:
    IniFile ini_file_;
    vector<string> vec_url_;

};

#endif // CONFIG_H
